package com.platform.entity;

import java.io.Serializable;
import java.util.Date;

public class UserExchangeEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    private Integer id;
    //用户id
    private Long userId;
    //兑换码id
    private Integer exchangeCodeId;
    //兑换时间
    private Date exchangeTime;
    //订单号
    private String orderSn;
    //兑换码实体类
    private ExchangeCodeEntity exchangeCodeEntity;
    private GiftTypeEntity giftTypeEntity;
    private UserEntity userEntity;
    private OrderEntity orderEntity;


    public String getOrderSn() {
        return orderSn;
    }

    public void setOrderSn(String orderSn) {
        this.orderSn = orderSn;
    }

    public Date getExchangeTime() {
        return exchangeTime;
    }

    public void setExchangeTime(Date exchangeTime) {
        this.exchangeTime = exchangeTime;
    }

    public GiftTypeEntity getGiftTypeEntity() {
        return giftTypeEntity;
    }

    public void setGiftTypeEntity(GiftTypeEntity giftTypeEntity) {
        this.giftTypeEntity = giftTypeEntity;
    }

    public UserEntity getUserEntity() {
        return userEntity;
    }

    public void setUserEntity(UserEntity userEntity) {
        this.userEntity = userEntity;
    }

    public OrderEntity getOrderEntity() {
        return orderEntity;
    }

    public void setOrderEntity(OrderEntity orderEntity) {
        this.orderEntity = orderEntity;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Integer getExchangeCodeId() {
        return exchangeCodeId;
    }

    public void setExchangeCodeId(Integer exchangeCodeId) {
        this.exchangeCodeId = exchangeCodeId;
    }

    public ExchangeCodeEntity getExchangeCodeEntity() {
        return exchangeCodeEntity;
    }

    public void setExchangeCodeEntity(ExchangeCodeEntity exchangeCodeEntity) {
        this.exchangeCodeEntity = exchangeCodeEntity;
    }
}
